﻿using MahApps.Metro.Controls;
using System.Windows;
using VM.Dialogs.ViewModels;

namespace VM.Dialogs.Views
{
    /// <summary>
    /// IpConfig.xaml 的交互逻辑
    /// </summary>
    public partial class IpConfigView : MetroWindow
    {
        public IpConfigView()
        {
            InitializeComponent();
            DataContext = new IpConfigViewModel();
        }

        private static IpConfigView _instance;
        public static IpConfigView Ins
        {
            get
            {
                Application.Current.Dispatcher.Invoke(() => { _instance = new IpConfigView(); });
                return _instance;
            }
        }
    }
}
